package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 鉴定对象 t_appraisal
 * 
 * @author ruoyi
 * @date 2020-04-17
 */
public class Appraisal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 协议类型（纵向/横向） */
    @Excel(name = "协议类型", readConverterExp = "纵=向/横向")
    private Integer protocolType;

    /** 鉴定类型（鉴定/验收） */
    @Excel(name = "鉴定类型", readConverterExp = "鉴=定/验收")
    private Integer appraisalType;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private Integer projectType;

    /** 成果名称 */
    @Excel(name = "成果名称")
    private String appraisalName;

    /** 组织鉴定/验收单位 */
    @Excel(name = "组织鉴定/验收单位")
    private String appraisalDept;

    /** 鉴定水平或验收等级 */
    @Excel(name = "鉴定水平或验收等级")
    private Integer appraisalLevel;

    /** 主要完成人 */
    @Excel(name = "主要完成人")
    private String mainCompletedMan;

    /** 鉴定/验收时间 */
    @Excel(name = "鉴定/验收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appraisalTime;

    /** 单位id */
    @Excel(name = "单位id")
    private Long reportUnitId;

    /** 申报单位 */
    @Excel(name = "申报单位")
    private String reportUnit;

    /** 申报时间 */
    @Excel(name = "申报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 科室 */
    @Excel(name = "科室")
    private Long departmentId;

    /** 科室 */
    @Excel(name = "科室")
    private String department;

    /** 文档类型 */
    @Excel(name = "文档类型")
    private Integer docType;

    /** 是否包含附件 */
    @Excel(name = "是否包含附件")
    private Integer hasAppendix;

    /** 审核状态   1未审核，2审核中，3审核通过 */
    @Excel(name = "审核状态   1未审核，2审核中，3审核通过")
    private Integer auditState;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    private String searchParam;

    public String getSearchParam() {
        return searchParam;
    }

    public void setSearchParam(String searchParam) {
        this.searchParam = searchParam;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProtocolType(Integer protocolType) 
    {
        this.protocolType = protocolType;
    }

    public Integer getProtocolType() 
    {
        return protocolType;
    }
    public void setAppraisalType(Integer appraisalType) 
    {
        this.appraisalType = appraisalType;
    }

    public Integer getAppraisalType() 
    {
        return appraisalType;
    }
    public void setProjectType(Integer projectType) 
    {
        this.projectType = projectType;
    }

    public Integer getProjectType() 
    {
        return projectType;
    }
    public void setAppraisalName(String appraisalName) 
    {
        this.appraisalName = appraisalName;
    }

    public String getAppraisalName() 
    {
        return appraisalName;
    }
    public void setAppraisalDept(String appraisalDept) 
    {
        this.appraisalDept = appraisalDept;
    }

    public String getAppraisalDept() 
    {
        return appraisalDept;
    }
    public void setAppraisalLevel(Integer appraisalLevel) 
    {
        this.appraisalLevel = appraisalLevel;
    }

    public Integer getAppraisalLevel() 
    {
        return appraisalLevel;
    }
    public void setMainCompletedMan(String mainCompletedMan) 
    {
        this.mainCompletedMan = mainCompletedMan;
    }

    public String getMainCompletedMan() 
    {
        return mainCompletedMan;
    }
    public void setAppraisalTime(Date appraisalTime) 
    {
        this.appraisalTime = appraisalTime;
    }

    public Date getAppraisalTime() 
    {
        return appraisalTime;
    }
    public void setReportUnitId(Long reportUnitId) 
    {
        this.reportUnitId = reportUnitId;
    }

    public Long getReportUnitId() 
    {
        return reportUnitId;
    }
    public void setReportUnit(String reportUnit) 
    {
        this.reportUnit = reportUnit;
    }

    public String getReportUnit() 
    {
        return reportUnit;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setDocType(Integer docType) 
    {
        this.docType = docType;
    }

    public Integer getDocType() 
    {
        return docType;
    }
    public void setHasAppendix(Integer hasAppendix) 
    {
        this.hasAppendix = hasAppendix;
    }

    public Integer getHasAppendix() 
    {
        return hasAppendix;
    }
    public void setAuditState(Integer auditState) 
    {
        this.auditState = auditState;
    }

    public Integer getAuditState() 
    {
        return auditState;
    }
    public void setGmtTime(Date gmtTime) 
    {
        this.gmtTime = gmtTime;
    }

    public Date getGmtTime() 
    {
        return gmtTime;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("protocolType", getProtocolType())
            .append("appraisalType", getAppraisalType())
            .append("projectType", getProjectType())
            .append("appraisalName", getAppraisalName())
            .append("appraisalDept", getAppraisalDept())
            .append("appraisalLevel", getAppraisalLevel())
            .append("mainCompletedMan", getMainCompletedMan())
            .append("appraisalTime", getAppraisalTime())
            .append("reportUnitId", getReportUnitId())
            .append("reportUnit", getReportUnit())
            .append("reportTime", getReportTime())
            .append("departmentId", getDepartmentId())
            .append("department", getDepartment())
            .append("docType", getDocType())
            .append("hasAppendix", getHasAppendix())
            .append("remark", getRemark())
            .append("auditState", getAuditState())
            .append("gmtTime", getGmtTime())
            .append("creator", getCreator())
            .toString();
    }
}
